<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
    <title>报名页面</title>
    <link rel="stylesheet" type="text/css" href="../user/mes.css">
</head>
<body id="i88" style="margin: 0;background: url(https://www.2008php.com/2011_Website_appreciate/11-04-29/20110429160105.jpg)">
    <div class = "pg_header">
        <a class="pg_dl" id="i77">报名页面</a>    
    </div>
    <form name="tijiao" onsubmit="return check()" enctype="multipart/form-data" method="post" action="<%=request.getContextPath() %>/i/b" >
        <div class="left"></div>
        <div class="pg_body">

                        <input id="youxiang" type="hidden" name="email"  value="${email}" >

                <div class="menu">民族:</div>
                    <div class="kong">
                        <input id="minzu" type="text" name="minzu" placeholder="请输入民族" >
                    </div>
                <div class="menu">身份证号码:</div>
                    <div class="kong">
                        <input id="id" type="text" name="id" placeholder="请输入身份证号码" >
                    </div>
				<div class="menu">考生身份:</div>
				    <div class="kong">
				        <input id="shenfen" type="text" name="shenfen" placeholder="请输入考生身份" >
				    </div>
				<div class="menu">报考部门:</div>
				    <div class="kong">
				        <input id="bumen" type="text" name="bumen" placeholder="请输入报考部门" >
				    </div>
				<div class="menu">报考职位:</div>
				    <div class="kong">
				        <input id="zhiwei" type="text" name="zhiwei" placeholder="请输入报考职位" >
				    </div>
					
				<div class="menu">户口所在地:</div>
				    <div class="kong">
				        <input id="hukou" type="text" name="hukou" placeholder="请输入户口所在地" >
				    </div>
				<div class="menu">学校:</div>
				    <div class="kong">
				        <input id="xuexiao" type="text" name="xuexiao" placeholder="请输入学校" >
				    </div>
                <div class="menu">头像上传:    </div>
                    <div class="kong">
                        <input type="file" id="pic" name="file"   >
                </div>    
                <div class="menu">性别:</div>
                    <div class="kong" style="width: 300px;">
                        <select id="sex" name="sex">
                        	<option value ="男">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;男&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</option>
							<option value ="女">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;女&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</option>
                        </select>
                    </div>
				<div class="menu">学历:</div>
				    <div class="kong" style="width: 300px;">
				        <select id="xueli" name="xueli">
				        	<option value ="本科">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;本科&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</option>
							<option value ="专科">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;专科&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</option>
							<option value ="硕士">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;硕士&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</option>
							<option value ="博士">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;博士&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</option>
							
				        </select>
				    </div>
					<div class="menu">政治面貌:</div>
					    <div class="kong" style="width: 300px;">
					        <select id="zzmm" name="zzmm">
					        	<option value ="群众">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;群众&nbsp;&nbsp;&nbsp;</option>
								<option value ="党员">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;党员&nbsp;&nbsp;&nbsp;</option>
								<option value ="共青团员">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;共青团员&nbsp;&nbsp;&nbsp;&nbsp;</option>
								<option value ="预备党员">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;预备党员&nbsp;&nbsp;&nbsp;&nbsp;</option>
							
					        </select>
					    </div>
        </div>
        <div class="can">
            <input id="i111" type="submit" name="002" value="提  交">
            <p style="width: 200px;display: inline-block;"></p>
        </div>
    </form>
</body>
<script type="text/javascript">
	function check(){
		pic=document.getElementById("pic").value
		sex=document.getElementById("sex").value
		shenfen=document.getElementById("shenfen").value
		minzu=document.getElementById("minzu").value
		xueli=document.getElementById("xueli").value
		xuexiao=document.getElementById("xuexiao").value
		zzmm=document.getElementById("zzmm").value
		bumen=document.getElementById("bumen").value
		hukou=document.getElementById("hukou").value
		zhiwei=document.getElementById("zhiwei").value
		id=document.getElementById("id").value
		console.log(pic)
		if(sex==null||
			shenfen==null||
			minzu==null||
			xuexiao==null||
			xueli==null||
			zzmm==null||
			bumen==null||
			hukou==null||
			zhiwei==null||
			id==null||
				id==""||
				sex==""||
				shenfen==""||
				minzu==""||
				xuexiao==""||
				xueli==""||
				zzmm==""||
				bumen==""||
				hukou==""||
				zhiwei==""){
					alert("你有信息没有填写");
					return false;
				}
	}
	
</script>
</html>